package com.codejoys.monitor.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ViewDevice implements Serializable {
    private String channel;

    private Integer id;

    private String sn;

    private String model;

    private Integer channelId;

    private Integer agingTimes;

    private Date agingStartTime;

    private Date agingEndTime;

    private Date agingStopTime;

    private Date offlineTime;

    private BigDecimal presetVoltage;

    private BigDecimal presetCurrent;

    private Integer presetDuration;

    private Integer actualDuration;

    private Byte status;

    private Byte agingResult;

    private Integer agingErrorCode;

    private Integer createdBy;

    private Date created;

    private Integer updatedBy;

    private Date updated;

    private Byte deleted;

    private static final long serialVersionUID = 1L;

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Integer getAgingTimes() {
        return agingTimes;
    }

    public void setAgingTimes(Integer agingTimes) {
        this.agingTimes = agingTimes;
    }

    public Date getAgingStartTime() {
        return agingStartTime;
    }

    public void setAgingStartTime(Date agingStartTime) {
        this.agingStartTime = agingStartTime;
    }

    public Date getAgingEndTime() {
        return agingEndTime;
    }

    public void setAgingEndTime(Date agingEndTime) {
        this.agingEndTime = agingEndTime;
    }

    public Date getAgingStopTime() {
        return agingStopTime;
    }

    public void setAgingStopTime(Date agingStopTime) {
        this.agingStopTime = agingStopTime;
    }

    public Date getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(Date offlineTime) {
        this.offlineTime = offlineTime;
    }

    public BigDecimal getPresetVoltage() {
        return presetVoltage;
    }

    public void setPresetVoltage(BigDecimal presetVoltage) {
        this.presetVoltage = presetVoltage;
    }

    public BigDecimal getPresetCurrent() {
        return presetCurrent;
    }

    public void setPresetCurrent(BigDecimal presetCurrent) {
        this.presetCurrent = presetCurrent;
    }

    public Integer getPresetDuration() {
        return presetDuration;
    }

    public void setPresetDuration(Integer presetDuration) {
        this.presetDuration = presetDuration;
    }

    public Integer getActualDuration() {
        return actualDuration;
    }

    public void setActualDuration(Integer actualDuration) {
        this.actualDuration = actualDuration;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getAgingResult() {
        return agingResult;
    }

    public void setAgingResult(Byte agingResult) {
        this.agingResult = agingResult;
    }

    public Integer getAgingErrorCode() {
        return agingErrorCode;
    }

    public void setAgingErrorCode(Integer agingErrorCode) {
        this.agingErrorCode = agingErrorCode;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Byte getDeleted() {
        return deleted;
    }

    public void setDeleted(Byte deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", channel=").append(channel);
        sb.append(", id=").append(id);
        sb.append(", sn=").append(sn);
        sb.append(", model=").append(model);
        sb.append(", channelId=").append(channelId);
        sb.append(", agingTimes=").append(agingTimes);
        sb.append(", agingStartTime=").append(agingStartTime);
        sb.append(", agingEndTime=").append(agingEndTime);
        sb.append(", agingStopTime=").append(agingStopTime);
        sb.append(", offlineTime=").append(offlineTime);
        sb.append(", presetVoltage=").append(presetVoltage);
        sb.append(", presetCurrent=").append(presetCurrent);
        sb.append(", presetDuration=").append(presetDuration);
        sb.append(", actualDuration=").append(actualDuration);
        sb.append(", status=").append(status);
        sb.append(", agingResult=").append(agingResult);
        sb.append(", agingErrorCode=").append(agingErrorCode);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", created=").append(created);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", updated=").append(updated);
        sb.append(", deleted=").append(deleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}